package com.jyw.business.ins.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jyw.common.annotation.Excel;
import com.jyw.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 巡检任务巡检项对象 ins_task_item
 *
 * @author system
 * @date 2023-10-07
 */
@Data
@TableName("ins_task_item")
@ApiModel("巡检任务巡检项实体")
public class InsTaskItem {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 巡检任务ID
     */
    @ApiModelProperty("巡检任务ID")
    @Excel(name = "巡检任务ID")
    private Long taskId;

    /**
     * 配置巡检项ID
     */
    @ApiModelProperty("配置巡检项ID")
    @Excel(name = "配置巡检项ID")
    private Long configItemId;

    /**
     * 实测值
     */
    @ApiModelProperty("实测值")
    @Excel(name = "实测值")
    private String measuredValue;

    /**
     * 巡检结果（1正常 2异常）
     */
    @ApiModelProperty("巡检结果（1正常 2异常）")
    @Excel(name = "巡检结果", readConverterExp = "1=正常,2=异常")
    private Integer result;

    /**
     * 整改要求及处罚意见
     */
    @ApiModelProperty("整改要求及处罚意见")
    @Excel(name = "整改要求及处罚意见")
    private String rectifyOpinion;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Integer sort;

}
